const { NODE_ENV } = process.env;
const common = {
  env: NODE_ENV,
  matrixCode: {
    all: 63,
    metro: 64,
    enterprise: 65,
    lite: 66
  },
  metro: ["重庆AI CITY", "武汉AI CITY", "德阳AI CITY"],
  enterprise: [
    "AI PARK",
    "冬奥会小镇",
    "中赫数智化",
    "德阳",
    "上海徐汇区",
    "上海普陀区",
    "上海黄埔区",
    "上海静安区",
    "上海浦东",
    "上海崇明区",
    "上海长宁",
    "上海奉贤",
    "重庆渝中区",
    "重庆璧山",
    "重庆沙坪坝",
    "贝瑞基因",
    "世博会",
    "冬奥会"
  ],
  lite: [
    "智慧社区",
    "德阳秦宓",
    "智慧校园",
    "T11新零售",
    "Talabat",
    "光大银行",
    "智慧文旅",
    "智慧消防",
    "体检机器人",
    "智慧街道",
    "5G智慧社区",
    "英利",
    "大融城",
    "正佳广场",
    "we+",
    "绿地",
    "智慧停车"
  ]
};

const development = {
  ...common,
  mqtt: {
    url: "mqtt://8.140.187.39:2009",
    topic: "tacos/multiscreen/command/tacos_explain_screen_aipark_001"
  }
};

const production = {
  ...common,
  mqtt: {
    url: "ws://10.37.152.3:9083/mqtt",
    topic: "tacos/multiscreen/command/supper_screen_002",
    username: "mqprd",
    password: "fbjLcBESCppsd2dn"
  }
};
// export default NODE_ENV === "development" ? development : production;
export default production;
